<?php

/*
	info: 基本参数配置
*/

if (!defined('WEBINROOT'))
{
	header("HTTP/1.0 404 Not Found");
	exit();
}

if (defined('CONFIG_INC'))
{
	return;
}
define('CONFIG_INC', TRUE);

error_reporting(0);	//定义错误提示级别
define('WEBDEBUG', FALSE);	//定义是否显示测试信息
define('WEBLOCAL_TEST', FALSE);	//定义是否本地测试
define('WEBURLPATH', '/app/princesswedding');	//相对路径，最后不要斜线
define('WEBTIMEZONE', '8');	//网站时间时区
define('WEBTEMPNAME', 'default');	//模板目录名称
define('WEBAUTHKEY', '436gfd4GDFh547jdjY7HI');	//系统加密密钥

$webconfig = array();
$webconfig['superadmin'] = 'admin';		//网站创始人(后台管理使用)
$webconfig['webname'] = 'Princess Wedding';	//网站名称
$webconfig['webcharset'] = 'utf-8';	//网页编码
$webconfig['webimageurl'] = '/app/princesswedding/files/';	//图片域名
$webconfig['weblang'] = 'cn';	//网页语言

$webconfig['dbpre'] = '';	//站点数据库表名前缀
$webconfig['dbhost'] = 'localhost';	// 数据库服务器
$webconfig['dbuser'] = 'root';	// 数据库用户名
$webconfig['dbpass'] = '';		// 数据库密码
$webconfig['dbname'] = 'app_princesswedding';	// 数据库名
$webconfig['dbcharset'] = 'utf8';	// MySQL 字符集, 可选 'gbk', 'big5', 'utf8', 'latin1'
$webconfig['dbpconnect'] = 0;	// 数据库持久连接 0=关闭, 1=打开

$webconfig['dbmshost'] = 'app.princesswedding.com';	// MSSQL数据库服务器
$webconfig['dbmsuser'] = 'DEBE';	// 数据库用户名
$webconfig['dbmspass'] = 'DEbe-Q';		// 数据库密码
$webconfig['dbmsname'] = 'DreamProduction';	// 数据库名
$webconfig['dbmstable_voucher'] = 'voucher';	// 校验码表

$webconfig['mail_server'] = '';
$webconfig['mail_port'] = '25';
$webconfig['mail_auth'] = '1';
$webconfig['mail_helo'] = '';
$webconfig['mail_from'] = '';
$webconfig['mail_from_name'] = '';
$webconfig['mail_auth_username'] = '';
$webconfig['mail_auth_password'] = '';

$webconfig['cookiepre'] = 'wdp_';	// cookie 前缀
$webconfig['cookiedomain'] = '';	// cookie 作用域
$webconfig['cookiepath'] = WEBURLPATH.'/';	// cookie 作用路径
